package Scene6;

import Picture.GameImage;

import java.awt.image.BufferedImage;
import java.util.HashMap;
import java.util.Map;
import java.util.Stack;

public class Scene6 {
    Stack<BufferedImage> stackPic = new Stack<>();
    Stack<BufferedImage> stackFont = new Stack<>();
    Map<String, BufferedImage> map = new HashMap<>();
    public Scene6(){
        for (int i = 29; i>1; i--) {
            stackFont.push(GameImage.get("/Picture/场景3-小精灵台词图片/" + i + ".png"));
        }
        for (int i = 13; i>=1; i--) {
            if(i==3){
                continue;
            }
            if(i==4){
                stackPic.push(GameImage.get("/Picture/场景3图片/3-" + i + ".png"));
            }
            else{
                stackPic.push(GameImage.get("/Picture/场景3图片/3-" + i + ".jpg"));
            }
        }
        //map.put("bg", GameImage.get("/Picture/背景1.png"));
        map.put("bg", GameImage.get("/Picture/沙漠.jpg"));
        map.put("1-1",GameImage.get("/Picture/images/树1-1.png"));
        map.put("1-2",GameImage.get("/Picture/images/树1-2.png"));
        map.put("1-3",GameImage.get("/Picture/images/树1-3.png"));
        map.put("2-1",GameImage.get("/Picture/images/树2-1.png"));
        map.put("2-2",GameImage.get("/Picture/images/树2-2.png"));
        map.put("2-3",GameImage.get("/Picture/images/树2-3.png"));
        map.put("3-1",GameImage.get("/Picture/images/树3-1.png"));
        map.put("3-2",GameImage.get("/Picture/images/树3-2.png"));
        map.put("3-3",GameImage.get("/Picture/images/树3-3.png"));
        map.put("5-1",GameImage.get("/Picture/images/卡通风的树1.png"));
        map.put("5-2",GameImage.get("/Picture/images/卡通风的树2.png"));
        map.put("5-3",GameImage.get("/Picture/images/卡通风的树3.png"));
        map.put("铲子",GameImage.get("/Picture/铲子1.png"));
        map.put("肥料",GameImage.get("/Picture/肥料1.png"));
        map.put("水桶",GameImage.get("/Picture/水桶1.png"));
        map.put("道具框",GameImage.get("/Picture/道具框.png"));
        map.put("对话框",GameImage.get("/Picture/images/对话框.png"));
        map.put("铲子s",GameImage.get("/Picture/images/铲子1(1).png"));
        map.put("肥料s",GameImage.get("/Picture/images/肥料1(1).png"));
        map.put("水桶s",GameImage.get("/Picture/images/水桶1(1).png"));
    }
}
